export let columns = {
    adminColumns: [
        {
            title: '学院',
            dataIndex: 'college',
            filters: [
                {
                    text: '计通学院',
                    value: '计通学院',
                },
                {
                    text: '经管学院',
                    value: '经管学院',
                },
                {
                    text: '自动化学院',
                    value: '自动化学院',
                },
                {
                    text: '数理学院',
                    value: '数理学院',
                },
                {
                    text: '外国语学院',
                    value: '外国语学院',
                }
            ],
            onFilter: (value, record) => record.college.indexOf(value) === 0,
            sorter: (a, b) => a.college.length - b.college.length,
            sortDirections: ['descend']
        },
        {
            title: '账号',
            dataIndex: 'account',
        },
        {
            title: '密码',
            dataIndex: 'password',
        },
        {
            title: '操作',
            dataIndex: 'Action',
            scopedSlots: {customRender: 'Action'},
        },
    ]
}